﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace GestionComercial.Model.Entities
{
    [Table("Proveedor")]
    public class Proveedor
    {
        [Key]
        public Guid IdProveedor { get; set; }

        public int Codigo { get; set; }

        public String RazonSocial { get; set; }

        public String Direccion { get; set; }

        public String Telefono { get; set; }

        public String Fax { get; set; }

        public String cuit { get; set; }

        public String Mail { get; set; }

        public String WebSite { get; set; }

        public String Observaciones { get; set; }

        public Guid IdLocalidad { get; set; }

        [ForeignKey("IdLocalidad")]
        public virtual Localidad Localidad { get; set; }

        
    }
}
